function MySQLQuery()
{
Query=`mysql -uMYSQLUSENAME -pMYSQLPASSWORD -e”use MYDATABASE; select * from MYTABLE where id = 1;”`
for data in $Query ;
do
echo $data
done 
};export -f MySQLQuery
